<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Notas de Debito y Credito </title>

<link href="estilacho.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Estilo1 {color: #FF0000}
a:link {
	color: #993300;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #993300;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
	color: #FF0000;
}
-->
</style>
</head>

<body>
<? $base= "ucg - copia";
	$conexion = mysql_connect("localhost","root","");
	mysql_select_db($base,$conexion);
    $sql="Select * from cuentas";
	$resultado= mysql_query($sql, $conexion); ?>
	
<form id="form1" name="form1" method="post" action="insertar_nd_nc.php">
  <table width="100%" border="0" class="tablainstitucion" align="center">
    <tr>
      <th colspan="2">INSERTAR NOTA DE DEBITO Y/O CREDITO <input name="cod" type="hidden" id="cod" value="0"></th>
    </tr>
    <tr>
      <td>Tipo de Nota : </td>
      <td><span class="style7">
        <select name="nota" class="combobox" id="nota">
          <option value="">SELECCIONE UN TIPO DE NOTA</option>
          <option value="1">Nota de Credito</option>
          <option value="2">Nota de debito</option>
          <? while ($busqueda = mysql_fetch_array($resultado)) { ?>
          <? }  ?>
                        </select>
      </span></td>
    </tr>
    <tr>
      <td>Concepto: </td>
      <td><input name="sugun" type="text" class="entrada" id="sugun" value="<? echo "$sugun"; ?>" /></td>
    </tr>
    <tr>
      <td>Fecha:</td>
      <td><input name="fecha" type="text" class="entrada" id="fecha" value="<? echo date('Y-m-d')?>" size="11" maxlength="11" /></td>
    </tr>

    <tr>
      <td>Monto:</td>
      <td><input name="monto" type="text" class="entrada" id="monto" value="<? echo "$monto"; ?>" /></td>
    </tr>
    <tr>
      <td colspan="2"><div align="center" class="Estilo1">Todo son campos claves</div></td>
    </tr>
    
    <tr>
      <td colspan="2"></td>
    </tr>
  </table>
  <div align="center">
        <input name="Submit" type="submit" class="boton" value="Guardar Nota" />
      </div>
</form>
<div align="center"></div>
<div align="center"><a href="index1.php">Menu principal</a>&nbsp;&nbsp;<a href="consulta_nc_gen0.php">Consultar Modificar y Eliminar</a></div>
</body>
</html>
